package com.string.test;

import java.util.Scanner;

public class Replace {
    public static void main(String[] args) {
        System.out.println("请输入一句话：");
        Scanner sc = new Scanner(System.in);
        String words = sc.next();
        words=words.replace("他妈的","***");
        System.out.println(words);
    }
}
